package com.store.practice.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 部门人员新增编辑信息参数
 */
@Getter
@Setter
public class BgStaffInsertParam {
    @ApiModelProperty(value = "账号")
    private String account;
    @ApiModelProperty(value = "真实姓名")
    private String realname;
    @ApiModelProperty(value = "座机")
    private Long landline;
    @ApiModelProperty(value = "所属部门id")
    private Integer dptId;
    @ApiModelProperty(value = "所属部门名称")
    private String dptName;
    @ApiModelProperty(value = "所属职位")
    private String position;
    @ApiModelProperty(value = "加入时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date joinTime;
    @ApiModelProperty(value = "登录密码")
    private String password;
    @ApiModelProperty(value = "权限编辑")
    private String authority;
}
